/* tslint:disable */
/* eslint-disable */

import React, { CSSProperties, SVGAttributes, FunctionComponent } from 'react';
import { getIconColor } from './helper';

interface Props extends Omit<SVGAttributes<SVGElement>, 'color'> {
  size?: number;
  color?: string | string[];
}

const DEFAULT_STYLE: CSSProperties = {
  display: 'block',
};

const IconLocationFilled: FunctionComponent<Props> = ({ size, color, style: _style, ...rest }) => {
  const style = _style ? { ...DEFAULT_STYLE, ..._style } : DEFAULT_STYLE;

  return (
    <svg viewBox="0 0 1024 1024" width={size + 'px'} height={size + 'px'} style={style} {...rest}>
      <path
        d="M512 96c176.736 0 320 143.264 320 320 0 71.808-39.616 169.568-118.88 293.216l-14.848 22.784-7.744 11.616-16.16 23.616-8.416 12.032-17.44 24.48-18.368 25.056-19.2 25.632-20.096 26.208-20.96 26.752-21.824 27.36-11.232 13.888a32 32 0 0 1-49.664 0l-11.232-13.888-21.824-27.36c-3.584-4.48-7.104-8.96-10.592-13.44l-20.544-26.496a3085.6 3085.6 0 0 1-9.92-13.024l-19.2-25.6-18.368-25.088-17.44-24.48c-5.696-8.064-11.2-16.032-16.608-23.936l-15.712-23.328-14.848-22.784C231.616 585.6 192 487.808 192 416 192 239.264 335.264 96 512 96z m0 192a128 128 0 1 0 0 256 128 128 0 0 0 0-256z"
        fill={getIconColor(color, 0, '#333333')}
      />
    </svg>
  );
};

IconLocationFilled.defaultProps = {
  size: 18,
};

export default IconLocationFilled;
